<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attrs')}:</label>
        <div class="col-xs-12 col-sm-8">
            <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                    width="100%">
                    <tr>
                        <th>规格</th>
                        <th>值</th>
                    </tr>
                    {foreach $propList as $prop=>$value}
                    <tr>
                        <td>{$prop}</td>
                        <td>{$value}</t>
                    </tr>
                    {/foreach}
            </table>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expressid')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$expressList}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expresscode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="notrandom"><input id="notrandom" name="row[random]" type="radio" value="0" checked/>不随机</label>
                <input id="expresscode" class="form-control" name="row[expresscode]" type="text" value="{$row.expresscode|htmlentities}">
                <label for="random"><input id="random" name="row[random]" type="radio" value="1"/>随机</label>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
